from rest_framework.serializers import ModelSerializer
from payments import models


class PaymentSerializer(ModelSerializer):
    """支付信息序列化器"""
    class Meta:
        model = models.Payment
        fields = '__all__'
